-
-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Introduced search support for multiple programming languages #116
Introduced search support for multiple programming languages #116
Conversation
starcli/__main__.py
Outdated
@@ -19,12 +20,19 @@ | |||
|
|||
|
|||
# could be made into config option in the future | |||
CACHED_RESULT_PATH = xdg_cache_home() / "starcli.json" | |||
CACHED_RESULT_PATH = Path(BaseDirectory.xdg_cache_home) / "starcli.json" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This one is weird, but basically doing pip3 install -r requirements_dev.txt
installs a version of xdg
that does not export xdg_cache_home
as is. Possibly a breaking change in some of the minor/patch version of xdg
? I've double-checked it with fresh venv
- same problem.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's weird, I've tested with python 3.8 and 3.10, on both ubuntu and arch. Are you having this issue by installing from PyPI as well?
What is your OS and python version?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR! I'll take a look when I'm free. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for reviving the feature! Here are a few comments after a quick look.
Hi @dzmitry-kankalovich. This has been merged without the xdg.BaseDirectory change. If you're still having issues with it, please open a separate issue and I'll be happy to help debug it further. 🙂 @all-contributors please add @dzmitry-kankalovich for code. |
I've put up a pull request to add @dzmitry-kankalovich! 🎉 |
Checklist
Description
Similar to #108 implementation of multiple programming languages support. The reason for another changeset is that the original PR seems to be stale. This one is up to date + fixed/added tests.